SDS Programming

Topics relating to AutoLisp and SDS.

Moderators: CMS Inc, avaernes

Post Reply
giskumar
Contributor
Posts: 10
Joined: Fri Nov 26, 2010 5:00 am

SDS Programming

Post by giskumar » Tue Jan 25, 2011 6:04 am

Hi all,

I want to learn SDS programming using vc++6.0.
I am having knowledge on .net.
Could any one suggess me what is the best source to lern SDS using VC++6.0

Thanks,
Kumar. :oops:
JCAMPOS

Post by JCAMPOS » Fri Jan 28, 2011 5:57 am

Hi,

I believe this forum is a good start.

Thanks,
JCAMPOS
giskumar
Contributor
Posts: 10
Joined: Fri Nov 26, 2010 5:00 am

Post by giskumar » Wed Feb 02, 2011 4:32 am

HI,

Can any one provide me some basic examples of sde, through which i can understand the structure quick.

Thanks,
Kumar.
giskumar
Contributor
Posts: 10
Joined: Fri Nov 26, 2010 5:00 am

Post by giskumar » Wed Feb 02, 2011 9:48 pm

giskumar wrote:HI,

Can any one provide me some basic examples of SDS, through which i can understand the structure quick.

Thanks,
Kumar.
giskumar
Contributor
Posts: 10
Joined: Fri Nov 26, 2010 5:00 am

Post by giskumar » Thu Feb 03, 2011 11:33 pm

Hi all,

I have written a simple dll using VC++ 6.0 as follows and loded in to intellicad.
At the time of loading it is saying entry point not found.
Can any one help me how to solve this.

ESS.CPP

Code: Select all

#include "stdafx.h"
#define EXPORTING_DLL
#include "ESS.H"

BOOL APIENTRY DllMain( HANDLE hModule, 
                       DWORD  ul_reason_for_call, 
                       LPVOID lpReserved
					 )
{
    return TRUE;
}

void HH()
{
   MessageBox( NULL, TEXT("Hello World"), TEXT("In a DLL"), MB_OK);
}

ESS.H

Code: Select all

#ifndef INDLL_H
#define INDLL_H

#ifdef EXPORTING_DLL
extern __declspec(dllexport) void HH() ;
#else
extern __declspec(dllimport) void HH() ;
#endif

#endif
Thanks,
Kumar
Post Reply