Click here to Skip to main content
16,004,969 members
Home / Discussions / Article Writing
   

Article Writing

 
GeneralRe: Space Invaders. Pin
PJ Arends27-Jan-02 6:15
professionalPJ Arends27-Jan-02 6:15 
Generalwinsock file transfer Pin
Kuniva17-Jan-02 10:35
Kuniva17-Jan-02 10:35 
GeneralRe: winsock file transfer Pin
Kashif Manzoor11-Feb-02 3:48
Kashif Manzoor11-Feb-02 3:48 
GeneralImpressive Online "Game" Link needed Pin
Paul Watson14-Jan-02 1:07
sitebuilderPaul Watson14-Jan-02 1:07 
GeneralRe: Impressive Online "Game" Link needed Pin
Konstantin Vasserman14-Jan-02 4:13
Konstantin Vasserman14-Jan-02 4:13 
GeneralC# or C++ sample of the following VB example Pin
shypht9-Jan-02 18:27
shypht9-Jan-02 18:27 
GeneralDLL Dialog Pin
Matt Newman9-Jan-02 11:25
Matt Newman9-Jan-02 11:25 
GeneralRe: DLL Dialog Pin
jan larsen28-Feb-02 4:06
jan larsen28-Feb-02 4:06 
I am not sure if this is what you wanted, but to create a dll in VC5 all you have to do is this:

Create a new win32 dll project (empty).

Create a .h and .c file like this:
/////////////////////////////////////////////////////////////////////
// File quicktest.h
/////////////////////////////////////////////////////////////////////
#ifndef _WINDOWS_
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
/////////////////////////////////////////////////////////////////////
#ifdef _cplusplus
extern "C"
{
#endif
/////////////////////////////////////////////////////////////////////
void WINAPI SomeFunc(PSTR someText);
/////////////////////////////////////////////////////////////////////
#ifdef _cplusplus
}
#endif
/////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////
// File quicktest.c
/////////////////////////////////////////////////////////////////////
void WINAPI SomeFunc(PSTR someText)
{
    MessageBox(GetDesktopWindow(), someText, TEXT("Some title"), MB_OK);
}// someText()
/////////////////////////////////////////////////////////////////////

And while those files are cooking, you take a new file and call it something like: quicktest.def, and put in something like this:
LIBRARY quicktest
DESCRIPTION 'Some functions for blah blah'
EXPORTS
    SomeFunc       @1


Then you press compile, and voila!, a dll...

Jan

"It could have been worse, it could have been ME!"
GeneralDrawing bitmaps Pin
Ray Kinsella8-Jan-02 6:10
Ray Kinsella8-Jan-02 6:10 
GeneralRe: Drawing bitmaps Pin
Paul Watson8-Jan-02 6:24
sitebuilderPaul Watson8-Jan-02 6:24 
GeneralRe: Drawing bitmaps Pin
Ray Kinsella8-Jan-02 6:31
Ray Kinsella8-Jan-02 6:31 
GeneralRe: Drawing bitmaps Pin
Paul Watson8-Jan-02 6:36
sitebuilderPaul Watson8-Jan-02 6:36 
GeneralRe: Drawing bitmaps Pin
Chris Maunder8-Jan-02 11:46
cofounderChris Maunder8-Jan-02 11:46 
GeneralRe: Drawing bitmaps Pin
Paul Watson9-Jan-02 5:01
sitebuilderPaul Watson9-Jan-02 5:01 
GeneralRe: Drawing bitmaps Pin
PJ Arends8-Jan-02 6:32
professionalPJ Arends8-Jan-02 6:32 
GeneralRe: Drawing bitmaps Pin
Paul Watson8-Jan-02 6:38
sitebuilderPaul Watson8-Jan-02 6:38 
GeneralRe: Drawing bitmaps Pin
Ravi Bhavnani8-Jan-02 6:33
professionalRavi Bhavnani8-Jan-02 6:33 
GeneralRe: Drawing bitmaps Pin
Ray Kinsella8-Jan-02 6:36
Ray Kinsella8-Jan-02 6:36 
GeneralTV Recorder Pin
haivh1-Jan-02 17:34
haivh1-Jan-02 17:34 
GeneralRe: TV Recorder Pin
Michael P Butler2-Jan-02 2:02
Michael P Butler2-Jan-02 2:02 
GeneralHELP ME PLEASE!!!!!!!!!!!!!! Pin
chococake31-Dec-01 19:52
chococake31-Dec-01 19:52 
GeneralHELP ME PLEASE!!!!!!!!!!!!!! Pin
31-Dec-01 19:38
suss31-Dec-01 19:38 
GeneralHELP! HELP! with program code Pin
tinsel31630-Dec-01 8:17
tinsel31630-Dec-01 8:17 
QuestionDo anyone have the VB code of SMS? Pin
27-Dec-01 6:51
suss27-Dec-01 6:51 
GeneralReading and clicking links on a web page Pin
SAK24-Dec-01 6:50
SAK24-Dec-01 6:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.