serry99 0 Newbie Poster

Hello,
I am beginning in C++ and i need Help. I would like to write DLL as that which is on the address http://www.programmers-corner.com/tutorial/4(Creating a C++ DLL for use with VB6 – Step by Step) but with two parameters alphanumeric in entry and my dll returm me this parameters for exemple
char __stdcall MyFunction(, char S1, char S2)
{
return S1, S2;
}

thus my DLL receive S1="C001645" and S2="ADC-02-196012" in entry
and via VB6 I post in Vb msgbox C001645 ADC-02-196012

thinks for your help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.